package com.cskaoyan.service;

import com.cskaoyan.bean.MarketStorage;
import com.cskaoyan.mapper.MarketStorageMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @Author: JianhuaZeng
 * @Date: 2023/1/2 14:40
 */
@Service
public class WxStorageServiceImpl implements WxStorageService{

    @Autowired
    MarketStorageMapper storageMapper;

    public Integer insert(MarketStorage storage){
        storageMapper.insertSelective(storage);
        return storage.getId();
    }
}
